//
//  MineUIViewTestViewController.m
//  HappyBug
//
//  Created by liulei on 2018/12/20.
//  Copyright © 2018年 www.hc.com.cn. All rights reserved.
//

#import "MineUIViewTestViewController.h"
#import "MineLabel.h"
#import "MineDatePicker.h"
#import "MineAlertView.h"
@interface MineUIViewTestViewController ()

@end

@implementation MineUIViewTestViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}

-(void)initView{
    
    MineLabel *label=[MineLabel labelWithFrame:CGRectMake(30, 50, 120, 30) text:@"222" textColor:[UIColor redColor] font:[UIFont systemFontOfSize:16] textAlignment:NSTextAlignmentCenter backgroundColor:nil];
    
    [self.view addSubview:label];
    
    MineDatePicker *picker =[MineDatePicker  datePickerShow:^(NSString *curDateStr) {
        NSLog(@"curDateStr:%@",curDateStr);
    }];
    
    [self.view addSubview:picker];
    
    
    MineAlertView *alertview =[MineAlertView alterViewWithTitle:@"标题" content:@"自定义弹窗" cancel:@"取消" sure:@"确认" cancelBtClcik:^{
        
        NSLog(@"取消");
    } sureBtClcik:^{
        NSLog(@"确定");
        
    }];
    
    [self.view addSubview:alertview];
}


@end
